<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=utf-8">
		<title>Login</title>
		<load href="__PUBLIC__/Css/animate-custom.css" />
		<load href="__PUBLIC__/Css/demo.css" />
		<load href="__PUBLIC__/Css/style.css" />
		<load href="__PUBLIC__/Js/jquery.js"/>
		<script>
			$(function(){
				$('img[title="login"]').click(function(){
					$('form[name="myForm"]').submit();
				});
				$('img[class="register"]').click(function(){
					window.location='<{:U('register/reg')}>';
				});
				
			});
		</script>
	</head>
	<body>
		
<br><br><br><br>
            <section>				
                <div id="container_demo" >
                    <a class="hiddenanchor" id="toregister"></a>
                    <a class="hiddenanchor" id="tologin"></a>
                    <div id="wrapper">
                        <div id="login" class="animate form">
                            <form  action="__URL__/doLogin" autocomplete="on" method='post' name='myForm'> 
                                <h1>登录</h1> 
                                <p> 
                                    <label for="username" class="uname" data-icon="u" > 用户名 </label>
                                    <input id="username" name="username" required="required" type="text" placeholder="myusername or mymail@mail.com"/>
                                </p>
                                <p> 
                                    <label for="password" class="youpasswd" data-icon="p"> 密码</label>
                                    <input id="password" name="password" required="required" type="password" placeholder="eg. X8df!90EO" /> 
                                </p>
                                <p> 
									 <label for="password" class="youpasswd" data-icon="p"> 验证码</label>
									 <input id="username" name="code" required="required" type="text" />
								</p>
                                <p class="login button">
									<img id='yan'src='{:U('Login/code?h=50')}'' onclick="this.src=this.src+'?'+Math.random()"/><br/>
                                    <input type="submit" value="Login" /> 
								</p>
                                <p class="change_link">
									还没有账号?
									<a href="{:U('Register/register')}" class="to_register">注册</a>
								</p>
                            </form>
                        </div>

                        </div>
						
                    </div>
                </div>  
            </section>
	</body>
</html>
